package com.zy.mc_module.ui.micang.adapter;

import android.view.LayoutInflater;
import android.view.ViewGroup;

import androidx.annotation.NonNull;

import com.zy.mc_module.base.kotlin.BaseAdapter;
import com.zy.mc_module.base.kotlin.BaseViewHolder;
import com.zy.mc_module.databinding.ItemMineTeamBinding;

import java.util.List;

public class MineTeamAdapter extends BaseAdapter<ItemMineTeamBinding, String> {
    public MineTeamAdapter(@NonNull List<String> mData) {
        super(mData);
    }

    @NonNull
    @Override
    public ItemMineTeamBinding getViewBinding(@NonNull LayoutInflater inflater, @NonNull ViewGroup parent) {
        return ItemMineTeamBinding.inflate(inflater, parent, false);
    }

    @Override
    protected void onMyBindViewHolder(@NonNull BaseViewHolder<ItemMineTeamBinding> holder, int position) {
        ItemMineTeamBinding binding = holder.getBinding();
        binding.teamActiveTeam.setText("团队活跃值:120");
    }
}
